package com.zhuxulin.java.email.utils;

import java.io.BufferedWriter;
import java.io.FileWriter;
import java.io.IOException;

public class WriteFileUtil {
	public static void write(String fileName, String data) throws IOException {
		FileWriter fileWritter = new FileWriter(fileName, true);
		BufferedWriter bufferWritter = new BufferedWriter(fileWritter);
		bufferWritter.write(data + "\r\n");
		bufferWritter.close();
	}
}
